<%@page import="Entities.*"%>
<%@page import="Helpers.*"%>
<%@page import="Hibernate.*"%>
<%@page import="java.util.*"%>

<!-- Featured Slider -->
<div class="box5">
    <div class="top"></div>
    <div class="spacer">
        <div class="btn-arr2" ><a href="javascript:stepcarousel.stepBy('mygallery', -1)"><img src="images/arr-left.gif" alt="Back" /></a></div>
        <div class="wrapper">
            <div id="mygallery" class="stepcarousel" >
                <div class="belt">

                    <%
                        CursusHelper cHelper = new CursusHelper();
                        List<Cursussen> cursussen = cHelper.getcursussen();
                        for (Cursussen cursus : cursussen) {
                            if (cursus.getActief()) {
                    %>

                        <div class="panel">
                            <div class="col4 post">
                                <h2><%= cursus.getNaam()%></h2>
                                <%= cursus.getOmschrijving()%>
                                <p><a class="btn" href="webpages/Cursus/cursusView.jsp">Bekijk alle cursussen</a></p>
                            </div>
                            <!--/col4 -->
                            <div class="col5"><img src="<%= cursus.getAfbeelding_url()%>" /></div>
                            <br class="fix" />
                        </div>
                  <%
                     }
                      }
                  %>




                </div>
            </div>
        </div>
        <!--/wrapper -->
        <div class="btn-arr2 fr" ><a href="javascript:stepcarousel.stepBy('mygallery', 1)"><img src="images/arr-right.gif" alt="Forward" /></a></div>
        <br class="fix" />
    </div>
    <!--/spacer -->
    <div class="bot"></div>
</div>
<!--/box5 -->